home *** CD-ROM | disk | FTP | other *** search
-
- /*
- * This file was generated by the SOM Compiler.
- * FileName: SOMIter.xh.
- * Generated using:
- * SOM Precompiler somipc: 2.18
- * SOM Emitter emitxh.dll: 2.33
- */
-
- #ifndef SOM_Module_PartFactory_defined
- #define SOM_Module_PartFactory_defined 1
- #include <som.xh>
-
- /*
- * Start of user-defined types:
- */
- class SOMClass;
- class SOMObject;
- class ODFrame;
- class ODFacet;
- class ODObject;
- class ODExtension;
- class ODEmbeddedFramesIterator;
- class ODPart;
- class ContainerEmbeddedFramesIterator;
- class FW_CEmbeddingPart;
- class FW_CEmbeddingFrame;
- class FW_CPartEmbeddedFrameIterator;
-
- /*
- * End of user-defined types.
- */
- #endif /* SOM_Module_PartFactory_defined */
-
- #ifndef SOM_PartFactory_ContainerEmbeddedFramesIterator_xh
- #define SOM_PartFactory_ContainerEmbeddedFramesIterator_xh
-
- class PartFactory_ContainerEmbeddedFramesIterator;
-
- #define PartFactory_ContainerEmbeddedFramesIterator_MajorVersion 1
- #define PartFactory_ContainerEmbeddedFramesIterator_MinorVersion 0
-
- /*
- * Passthru lines: File: "C.xh", "before"
- */
- class FW_CPartEmbeddedFrameIterator;
- class FW_CEmbeddingPart;
- class FW_CEmbeddingFrame;
-
- /* C++ SOM defs */
- #include <somcls.xh>
- #include <somcm.xh>
-
- /* C++ parent defs */
- #ifndef SOM_ODEmbeddedFramesIterator_xh
- #include <EmbFrItr.xh>
- #endif
-
- #ifndef PartFactory_ContainerEmbeddedFramesIterator_API
- #define PartFactory_ContainerEmbeddedFramesIterator_API
- /*
- * -- The Class API
- */
-
- /*
- * Start of user-defined types:
- */
-
- /*
- * End of user-defined types.
- */
-
- #ifdef OLDIBMSOMAPISUPPORT
- #define PartFactory_ContainerEmbeddedFramesIteratorCClassData PartFactory_ContainerEmbeddedFramesIteratorClassData
- #define PartFactory_ContainerEmbeddedFramesIteratorNewClass(major,minor) somNewVersionedClassReference(PartFactory_ContainerEmbeddedFramesIterator,major,minor)
- #endif
-
- /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
- #define PartFactory_ContainerEmbeddedFramesIteratorMetaClass SOMClass
-
- #if PRAGMA_ALIGN_SUPPORTED
- # pragma options align=power
- #endif
-
- /* The API to the PartFactory_ContainerEmbeddedFramesIterator class object, and the methods it introduces. */
- SOMEXTERN struct PartFactory_ContainerEmbeddedFramesIteratorClassDataStructure {
- #ifdef OLDIBMSOMAPISUPPORT
- SOMClass *classObject; /* always zero, use somNewClassReference instead */
- #else
- long zero;
- #endif
- somStaticClassInfo *sci;
- somDToken instanceDataToken;
- long reserved [3];
- somMToken InitIterator;
- } SOMDLINK PartFactory_ContainerEmbeddedFramesIteratorClassData;
-
- #if PRAGMA_ALIGN_SUPPORTED
- # pragma options align=reset
- #endif
-
- #if !defined(PartFactory_ContainerEmbeddedFramesIterator_Class_Source) && !defined(SOM_Module_somiter_Source)
- #if PRAGMA_IMPORT_SUPPORTED
- #pragma import list PartFactory_ContainerEmbeddedFramesIteratorClassData
- #endif
- #endif
-
-
- /*
- * -- Typedefs and inline method declarations for left path inherited methods
- * -- are omitted because this compilation had -museinheritedmethods in effect
- */
-
-
- /*
- * -- Typedefs for PartFactory_ContainerEmbeddedFramesIterator Method Procedures
- */
- SOMEXTERN {
- typedef void (* SOMLINK somTD_PartFactory_ContainerEmbeddedFramesIterator_InitIterator)(PartFactory_ContainerEmbeddedFramesIterator *somSelf, Environment *ev,
- FW_CEmbeddingPart* part,
- FW_CEmbeddingFrame* frame);
- }
-
- #endif /* PartFactory_ContainerEmbeddedFramesIterator_API */
-
-
- /*
- * -- This emitter treats Method Tokens as Thunks by default.
- * -- Use the sc modifier "nothunks" to change this default
- */
- #undef somresolve_
- #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
-
- /*
- * -- The C++ Wrapper Class for PartFactory_ContainerEmbeddedFramesIterator
- */
- class PartFactory_ContainerEmbeddedFramesIterator : public ODEmbeddedFramesIterator
- {
- public:
-
- // PartFactory_ContainerEmbeddedFramesIterator::new registers use of the class object, and then uses somNew
- // to allocate memory and load the object method table pointer.
- void *operator new(size_t size)
- {
- SOM_IgnoreWarning(size);
- // Allocate memory using the default allocator for PartFactory_ContainerEmbeddedFramesIterator, and
- // clear mem & set method table pointer, call basic initialization
- #ifdef SOMCHKNULL
- void * __somResult = (void *)
- somNewObject(PartFactory_ContainerEmbeddedFramesIterator);
- SOMCHKNULL(__somResult);
- return __somResult;
- #else
- return (void*) somNewObject(PartFactory_ContainerEmbeddedFramesIterator);
- #endif
- }
-
- // PartFactory_ContainerEmbeddedFramesIterator::delete uses the default deallocator for the object's class.
- void operator delete(void * obj)
- {
- if (obj) {
- SOM_Resolve(obj,SOMObject,somFree)
- ( (SOMObject*) obj );
- }
- }
-
- /* method: InitIterator */
- void InitIterator(Environment *ev,
- FW_CEmbeddingPart* part,
- FW_CEmbeddingFrame* frame)
- {
- SOM_ResolveD(this,PartFactory_ContainerEmbeddedFramesIterator,PartFactory_ContainerEmbeddedFramesIterator,InitIterator)
- (this,ev,part,frame);
- #ifdef SOMCHKEXCEPT
- SOMCHKEXCEPT;
- #endif
- }
-
- }; /* PartFactory_ContainerEmbeddedFramesIterator */
-
-
-
- #endif /* SOM_PartFactory_ContainerEmbeddedFramesIterator_xh */
-